home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-01-06 | 4.2 KB | 164 lines | [TEXT/MPS ] |
- ###############################################################################
- ##
- ## Project Name: SampleTermWindow
- ## File Name: MakeFile
- ##
- ## Description: This file will build our application under MPW 3.2
- ##
- ## Copyright © 1988-1991 Apple Computer, Inc.
- ## All rights reserved.
- ##
- ###############################################################################
- ## A U T H O R I D E N T I T Y
- ###############################################################################
- ##
- ## Initials Name
- ## -------- -----------------------------------------------
- ## CSH Craig Hotchkiss
- ##
- ###############################################################################
- ## R E V I S I O N H I S T O R Y
- ###############################################################################
- ##
- ## Change History (most recent first):
- ##
- ###############################################################################
-
-
-
- OBJECTFOLDER = ":Objects:"
- SYMBOLOPTION = full
- DUMPFILE = Load.Dump
-
-
-
- #---------------------------------------------------------------------------
- # start standard preamble
- # compiler options
-
- COPTIONS = ∂
- #-p ∂
- -b3 ∂
- -d DUMPFILENAME=∂"Load.Dump∂" ∂
- -sym {SYMBOLOPTION} ∂
- -mbg full ∂
- -i "{CIncludes}" ∂
- -i ":" ∂
- -k {OBJECTFOLDER}
-
- POPTIONS = ∂
- -d Debug=TRUE ∂
- -sym {SYMBOLOPTION} ∂
- -mbg full ∂
- -u ∂
- -sym off ∂
- -i "{PInterfaces}"
-
- AOPTIONS = ∂
- -i "{AIncludes}"
-
- LINKOPTIONS = ∂
- #-p ∂
- -w ∂
- -mf
- LINKTIMESTAMP = ∂
- " `date -s` -- linking shit"
-
- LIBOPTIONS = ∂
- -sym {SYMBOLOPTION}
-
- REZOPTIONS = ∂
- -append
-
- # end standard preamble
- #---------------------------------------------------------------------------
-
-
-
- MACLIBRARIES = ∂
- #"{Libraries}"Stubs.o ∂
- "{Libraries}"Interface.o ∂
- "{Libraries}"Runtime.o ∂
- "{CLibraries}"StdClib.o ∂
- #"{CLibraries}"Complex.o ∂
- #"{CLibraries}"CSANELib.o ∂
- #"{CLibraries}"Math.o ∂
- #"{Libraries}"ToolLibs.o ∂
- #"{PLibraries}SANELib.o" ∂
- #"{PLibraries}"PasLib.o
-
-
-
-
-
- ###############################################################################
- # SampleTermWindow program defined here.
- ###############################################################################
- #
- AppName = SampleTermWindow
- AppType = 'APPL'
- AppCrtr = 'MOOS'
- AppObjects = ∂
- {OBJECTFOLDER}Load.c.o ∂
- {OBJECTFOLDER}{AppName}.c.o ∂
- {OBJECTFOLDER}TermWindow.c.o
- #
- #
- {AppName} ƒƒ MakeFile {AppName}.r {AppName}.h
- Rez {REZOPTIONS} {AppName}.r -o {AppName}
- #
- {OBJECTFOLDER} ƒ ":"
- #
- {AppName} ƒƒ MakeFile {AppObjects}
- Link {LINKOPTIONS} ∂
- #-p ∂
- -sym {SYMBOLOPTION} ∂
- -t {AppType} -c {AppCrtr} ∂
- {AppObjects} ∂
- {MACLIBRARIES} ∂
- -o {AppName} && ∂
- SetFile {AppName} -a Bi
- #
-
- ###############################################################################
- # Cleanup
- ###############################################################################
- #
- Clean ƒ "{Worksheet}"
- Set Echo 0 && ∂
- Set saveExit {Exit} && ∂
- Set exit 0 && ∂
- If `Exists {AppName}.SYM`
- Delete {AppName}.SYM -y
- End
- If `Exists {AppName}`
- Delete {AppName} -y
- End
- Delete `files {OBJECTFOLDER}≈` -y ∑∑ Dev:Null && ∂
- Set exit {saveExit} && ∂
- Set Echo 1
-
- ###############################################################################
- # Load.Dump
- ###############################################################################
- #
- {OBJECTFOLDER}Load.Dump ƒ Load.c
-
- ###############################################################################
- # Default rules
- ###############################################################################
- #
- {OBJECTFOLDER} ƒ ":"
- #
- .c.o ƒ .c
- #Echo " `date -s` -- Compiling {Default}.c"
- C {DepDir}{Default}.c {COPTIONS} -o {Targ}
-
- .p.o ƒ .p
- #Echo " `date -s` -- Compiling {Default}.p"
- Pascal {DepDir}{Default}.p {POPTIONS} -o {Targ}
-
- .a.o ƒ .a
- #Echo " `date -s ` -- Compiling {Default}.a"
- Asm {DepDir}{Default}.a {AOPTIONS} -o {Targ}
-